package io.renren.modules.emp.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.renren.modules.emp.entity.EmployeeEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.emp.entity.EmployeeLocationEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.domain.Pageable;

import java.util.List;
@Mapper
public interface EmployeeDao extends BaseMapper<EmployeeEntity> {
    IPage<EmployeeEntity> selectByEmployeeid(String eid, Page<EmployeeEntity> page);
    List listNum();

    IPage<EmployeeLocationEntity> getLocation(String eid, IPage<EmployeeLocationEntity> page);
//    List<EmployeeLocationEntity> getLocation(String eid);
//    Page<EmployeeLocationEntity> getLocation(String eid, Pageable pageable);
}
